package com.gec.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.system.system.SysUser;
import com.gec.system.vo.AssignRoleVo;
import com.gec.system.vo.SysUserQueryVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author dafei
 * @since 2024-09-21
 */
public interface SysUserService extends IService<SysUser> {

    IPage<SysUser> selectPage(IPage<SysUser> page, SysUserQueryVo vo);
    boolean updateStauts(SysUser user);
    Map<String, Object> getRolesByUserId(Long userId);

    void doAssign(AssignRoleVo assignRoleVo);

    SysUser getUserInfoUserName(String username);

    Map<String, Object> getUserInfo(String username);


}
